package com.sixbing.spider.service.impl;

import com.sixbing.spider.bean.CollegeBean;
import com.sixbing.spider.dao.ICollegeDao;
import com.sixbing.spider.service.ICollegeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("collegeService")
public class CollegeServiceImpl implements ICollegeService {

    @Resource
    private ICollegeDao collegeDao;

    public List<CollegeBean> getAllCollegeByProvinceId(int provinceId) {
        return this.collegeDao.getAllCollegeByProvinceId(provinceId);
    }
}
